﻿using System.Collections;
using System.Collections.Generic;

using System.Diagnostics;



namespace ChangeListUtility
{
    class p4File
    {
        string filePathLocal;
        string filePathDepot;
        string fileName;
        int fileRevision;
    };

    class p4FileCollection : IEnumerable<p4File>
    {
        private List<p4File> mFiles;

        public IEnumerator<p4File> GetEnumerator()
        {
            for (int i = 0; i < mFiles.Count; ++i)
            {
                yield return mFiles[i];
            }
        }

        IEnumerator IEnumerable.GetEnumerator()
        {
            return GetEnumerator();
        }
    };

    class p4ChangeList
    {
        p4FileCollection mPrevRevisions;
        p4FileCollection prevRevision
        {
            get {
                return mPrevRevisions;
            }
            set
            {
                prevRevision = value;
            }
        }

        p4FileCollection mCurRevisions;
        p4FileCollection curRevision
        {
            get
            {
                return mCurRevisions;
            }
            set
            {
                mCurRevisions = value;
            }
        }
    };
}
